# -*- coding: utf-8 -*-
# ASI_CONTROL_TYPE.py was created by RuanYaoHuang on 2023/4/1.

import ctypes


class ASI_CONTROL_TYPE(ctypes.c_int):
    ASI_GAIN = 0
    ASI_EXPOSURE = 1
    ASI_GAMMA = 2
    ASI_WB_R = 3
    ASI_WB_B = 4
    ASI_OFFSET = 5
    ASI_BANDWIDTHOVERLOAD = 6
    ASI_OVERCLOCK = 7
    ASI_TEMPERATURE = 8
    ASI_FLIP = 9
    ASI_AUTO_MAX_GAIN = 10
    ASI_AUTO_MAX_EXP = 11
    ASI_AUTO_TARGET_BRIGHTNESS = 12
    ASI_HARDWARE_BIN = 13
    ASI_HIGH_SPEED_MODE = 14
    ASI_COOLER_POWER_PERC = 15
    ASI_TARGET_TEMP = 16
    ASI_COOLER_ON = 17
    ASI_MONO_BIN = 18
    ASI_FAN_ON = 19
    ASI_PATTERN_ADJUST = 20
    ASI_ANTI_DEW_HEATER = 21


if __name__ == '__main__':
    c = ASI_CONTROL_TYPE()
    print(c)
    # print(type(c.ASI_EXPOSURE))
